package com.ruoyi.production.mapper.graftinglabel;

import java.util.List;
import com.ruoyi.common.annotation.PropertyInject;
import com.ruoyi.common.enums.InjectType;
import com.ruoyi.production.domain.graftinglabel.GraftinglabelApplyTemporary;

/**
 * 嫁接签临时申请Mapper接口
 *
 * @author ruoyi
 * @date 2021-07-11
 */
public interface GraftinglabelApplyTemporaryMapper
{
    /**
     * 查询嫁接签临时申请
     *
     * @param graftinglabelApplyTemporaryId 嫁接签临时申请ID
     * @return 嫁接签临时申请
     */
    public GraftinglabelApplyTemporary selectGraftinglabelApplyTemporaryById(Long graftinglabelApplyTemporaryId);

    /**
     * 查询嫁接签临时申请列表
     *
     * @param graftinglabelApplyTemporary 嫁接签临时申请
     * @return 嫁接签临时申请集合
     */
    public List<GraftinglabelApplyTemporary> selectGraftinglabelApplyTemporaryList(GraftinglabelApplyTemporary graftinglabelApplyTemporary);

    /**
     * 新增嫁接签临时申请
     *
     * @param graftinglabelApplyTemporary 嫁接签临时申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Insert)
    public int insertGraftinglabelApplyTemporary(GraftinglabelApplyTemporary graftinglabelApplyTemporary);

    /**
     * 修改嫁接签临时申请
     *
     * @param graftinglabelApplyTemporary 嫁接签临时申请
     * @return 结果
     */
    @PropertyInject(type = InjectType.Update)
    public int updateGraftinglabelApplyTemporary(GraftinglabelApplyTemporary graftinglabelApplyTemporary);

    /**
     * 删除嫁接签临时申请
     *
     * @param graftinglabelApplyTemporaryId 嫁接签临时申请ID
     * @return 结果
     */
    public int deleteGraftinglabelApplyTemporaryById(Long graftinglabelApplyTemporaryId);

    /**
     * 批量删除嫁接签临时申请
     *
     * @param graftinglabelApplyTemporaryIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteGraftinglabelApplyTemporaryByIds(Long[] graftinglabelApplyTemporaryIds);
}
